HAL NOR Control functions migration

This section provides information about the HAL NOR function migration.

HAL NOR disable and enables write operations.

Note

  • The API HAL NOR write operation enable have been renamed to write protection disable.

  • The API HAL NOR write operation disable have been renamed to write protection enable

  • The API HAL NOR is enabled write protection have been added to check the write protection.

HAL1

HAL2

HAL_NOR_WriteOperation_Disable(NOR_HandleTypeDef *hnor);

HAL_NOR_WriteOperation_Enable(NOR_HandleTypeDef *hnor);
HAL_NOR_EnableWriteProtection(hal_nor_handle_t *hnor);

HAL_NOR_DisableWriteProtection(hal_nor_handle_t *hnor);

HAL_NOR_IsEnabledWriteProtection(const hal_nor_handle_t *hnor);